﻿using KZ.Express.Resource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KZ.Express.ENT
{
    public class RoleObjectENT : EntityBase
    {
        public int RoleID { get; set; }

        public int ObjectID { get; set; }

        public string PermissionID { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Roles_Objects"; } }

        /// <summary>
        /// proc_RoleObject_Select
        /// </summary>
        [NotInsertUpdate]
        public override string InsertProcedure { get { return "proc_RoleObject_Insert"; } }

        /// <summary>
        /// proc_RoleObject_Update
        /// </summary>
        [NotInsertUpdate]
        public override string UpdateProcedure { get { return "proc_RoleObject_Update"; } }
    }
}
